<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>JSONPath Tests</title>
        <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />

        <!-- Babel dependencies -->
        <script src="../node_modules/core-js-bundle/minified.js"></script>
        <!-- <script src="../node_modules/regenerator-runtime/runtime.js"></script> -->

        <!-- Testing dependencies -->
        <link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
        <script src="../node_modules/mocha/mocha.js"></script>
        <script src="../node_modules/chai/chai.js"></script>
    </head>
    <body>
        <h1>JSONPath Tests</h1>
        <div id="mocha"></div>

        <script type="module">
        /* globals chai */
        import {JSONPath} from '../src/jsonpath-browser.js';

        mocha.setup('bdd');
        window.assert = chai.assert;
        window.expect = chai.expect;
        window.jsonpath = JSONPath;
        mocha.globals(['jsonpath']);
        </script>

        <script type="module">
        import './test.all.js';
        import './test.arr.js';
        import './test.at_and_dollar.js';
        import './test.callback.js';
        import './test.custom-properties.js';
        import './test.errors.js';
        import './test.escaping.js';
        import './test.eval.js';
        import './test.examples.js';
        import './test.intermixed.arr.js';
        import './test.parent-selector.js';
        import './test.path_expressions.js';
        import './test.performance.js';
        import './test.pointer.js';
        import './test.properties.js';
        import './test.return.js';
        import './test.toPath.js';
        import './test.toPointer.js';
        import './test.type-operators.js';

        mocha.run();
        </script>
    </body>
</html>
